
\begin{figure}[h!t]
\centering
	\begin{tikzpicture}
	\begin{axis}[
	stack plots=y,
	/tikz/ybar,
	ybar stacked,
	width=9cm,
		symbolic x coords={Assault, Bio, Shock, Link, Minigun, Flak, Rocket, Lightning},
		xtick=data,	
	x tick label style={rotate=90,anchor=east},
	legend style={at={(0.5,-0.25)},
	anchor=north,legend columns=-1}
	]

%PRIMARY - avg + stdDev
	%PRIMARY - stdDev
	\addplot +[bar shift=-.2cm]
	coordinates {
	(Assault,79.30934407) 
	(Bio,167.940105)
	(Shock,158.5860044) 
	(Link,164.9021528) 
	(Minigun,0)
	(Flak,117.4059931)
	(Rocket,126.0619362)
	(Lightning,165.2943081)
	};
	\addplot +[bar shift=-.2cm]
	coordinates 
	{
	(Assault,187.8200061) 
	(Bio,175.9908149)
	(Shock,194.2363863) 
	(Link,154.485887) 
	(Minigun,0)
	(Flak,170.8453052)
	(Rocket,185.0249362)
	(Lightning,170.670949)
	};

	%PRIMARY - avg
	\addplot +[bar shift=-.2cm]
	coordinates 
	{
	(Assault,187.8200061) 
	(Bio,175.9908149)
	(Shock,194.2363863) 
	(Link,154.485887) 
	(Minigun,0)
	(Flak,170.8453052)
	(Rocket,185.0249362)
	(Lightning,170.670949)
	};





\resetstackedplots
%SECONDARY - avg + stdDev
\addplot  +[bar shift=.2cm]coordinates
 {
	(Assault,0) 
	(Bio,0)
	(Shock,51.89598504) 
	(Link,242.4589487) 
	(Minigun,-7.117536171)
	(Flak,293.7354204)
	(Rocket,0)
	(Lightning,0)
};
%SECONDARY - avg-stdDeb
\addplot  +[bar shift=.2cm] coordinates 
{
	(Assault,0) 
	(Bio,0)
	(Shock,203.2426537) 
	(Link,184.597443) 
	(Minigun,199.2447037)
	(Flak,74.29963817)
	(Rocket,0)
	(Lightning,0)
};

%SECONDARY - Avg
	\addplot +[bar shift=.2cm]
	coordinates 
	{
	(Assault,0) 
	(Bio,0)
	(Shock,203.2426537) 
	(Link,184.597443) 
	(Minigun,199.2447037)
	(Flak,74.29963817)
	(Rocket,0)
	(Lightning,0)
	};
	\legend{{ },{ },Primary,{ },{ },Secondary}
	\end{axis}
	\end{tikzpicture}
	\caption{\label{graph5}Velocity at Weapon Selection - Generation 1}
\end{figure}